package com.travel.sight.feign;

import com.travel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("travel-member")
public interface MemberFeignService {

    @RequestMapping("member/member/info/{memberId}")
    R info(@PathVariable("memberId") Integer memberId);

    @RequestMapping("member/memberlevel/info/{memberLevelId}")
    R memberLevelInfo(@PathVariable("memberLevelId") Integer memberLevelId);
}
